package com.o2o.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * package_name:com.o2o.entity
 * Author:徐亚远
 * Date:2019/11/27 10:29
 * 项目名:o2o
 * Desription:
 **/
public class LocalAuth implements Serializable {
    //主键Id
    private Long localAuthId;
    //账户
    private String username;
    //密码
    private String password;
    //创建时间
    private Date createTime;
    //最近一次更新时间
    private Date lastEditTime;
    //个人信息,关系为一一对应
    private PersonInfo personInfo;

    @Override
    public String toString() {
        return "LocalAuth{" +
                "localAuthId=" + localAuthId +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", createTime=" + createTime +
                ", lastEditTime=" + lastEditTime +
                ", personInfo=" + personInfo +
                '}';
    }

    public Long getLocalAuthId() {
        return localAuthId;
    }

    public void setLocalAuthId(Long localAuthId) {
        this.localAuthId = localAuthId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastEditTime() {
        return lastEditTime;
    }

    public void setLastEditTime(Date lastEditTime) {
        this.lastEditTime = lastEditTime;
    }

    public PersonInfo getPersonInfo() {
        return personInfo;
    }

    public void setPersonInfo(PersonInfo personInfo) {
        this.personInfo = personInfo;
    }
}
